import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import page from '../components/page'
import information from '../components/Information'

Vue.use(Router)

export default new Router({
    mode:'history',
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
      {
          path: '/page/:id',
          name: 'page',
          component: page
      },
    {
      path: '/information',
      name: 'information',
      component: information
    },
    {
      path: '/static/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path:'/dist/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path:"*",
      name: 'HelloWorld',
      component: HelloWorld
    }
  ],

})
